import java.util.Scanner;

public class Exchange {
	public static void main(String[] args) {
		System.out.print("请输入第一个数：");
		Scanner input = new Scanner(System.in);
		int a = input.nextInt();
		System.out.print("请输入第二个数：");
		int b = input.nextInt();
		int c = b;
		b = a;
		a = c;
		System.out.println("交换后第一个数：" + a);
		System.out.println("交换后第二个数：" + b);
	}
}
